<!-- HTML header for doxygen 1.8.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/xhtml;charset=utf-8" http-equiv="Content-Type"/>
<meta content="IE=9" http-equiv="X-UA-Compatible"/>
<meta content="Doxygen 1.8.13" name="generator"/>
<title>OpenCV: cv::gapi::wip Namespace Reference</title>
<link href="../../opencv.ico" rel="shortcut icon" type="image/x-icon"/>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script src="../../jquery.js" type="text/javascript"></script>
<script src="../../dynsections.js" type="text/javascript"></script>
<script src="../../tutorial-utils.js" type="text/javascript"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script src="../../search/searchdata.js" type="text/javascript"></script>
<script src="../../search/search.js" type="text/javascript"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
//<![CDATA[
MathJax.Hub.Config(
{
  TeX: {
      Macros: {
          matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9],
          fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4],
          forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6],
          forkfour: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ #7 & \\mbox{#8}\\\\ \\end{array} \\right.", 8],
          vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3],
          vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9],
          cameramatrix: ["#1 = \\begin{bmatrix} f_x & 0 & c_x\\\\ 0 & f_y & c_y\\\\ 0 & 0 & 1 \\end{bmatrix}", 1],
          distcoeffs: ["(k_1, k_2, p_1, p_2[, k_3[, k_4, k_5, k_6 [, s_1, s_2, s_3, s_4[, \\tau_x, \\tau_y]]]]) \\text{ of 4, 5, 8, 12 or 14 elements}"],
          distcoeffsfisheye: ["(k_1, k_2, k_3, k_4)"],
          hdotsfor: ["\\dots", 1],
          mathbbm: ["\\mathbb{#1}", 1],
          bordermatrix: ["\\matrix{#1}", 1]
      }
  }
}
);
//]]>
</script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js" type="text/javascript"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css"/>
<link href="../../stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<!--#include virtual="/google-search.html"-->
<table cellpadding="0" cellspacing="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../opencv-logo-small.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">OpenCV
    <span id="projectnumber">4.5.2</span>
   </div>
   <div id="projectbrief">Open Source Computer Vision</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script src="../../menudata.js" type="text/javascript"></script>
<script src="../../menu.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow" onkeydown="return searchBox.OnSearchSelectKey(event)" onmouseout="return searchBox.OnSearchSelectHide()" onmouseover="return searchBox.OnSearchSelectShow()">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe frameborder="0" id="MSearchResults" name="MSearchResults" src="javascript:void(0)">
</iframe>
</div>
<div class="navpath" id="nav-path">
  <ul>
<li class="navelem"><a class="el" href="../../d2/d75/namespacecv.html">cv</a></li><li class="navelem"><a class="el" href="../../d4/d1c/namespacecv_1_1gapi.html">gapi</a></li><li class="navelem"><a class="el" href="../../dd/de9/namespacecv_1_1gapi_1_1wip.html">wip</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#namespaces">Namespaces</a> |
<a href="#nested-classes">Classes</a> |
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">cv::gapi::wip Namespace Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:df/d8d/namespacecv_1_1gapi_1_1wip_1_1draw"><td align="right" class="memItemLeft" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d8d/namespacecv_1_1gapi_1_1wip_1_1draw.html">draw</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/d84/structcv_1_1gapi_1_1wip_1_1Data.html">Data</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">This aggregate type represents all types which G-API can handle (via variant).  <a href="../../d7/d84/structcv_1_1gapi_1_1wip_1_1Data.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/dbd/classcv_1_1gapi_1_1wip_1_1GAsyncCanceled.html">GAsyncCanceled</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d11/classcv_1_1gapi_1_1wip_1_1GAsyncContext.html">GAsyncContext</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A class to group async requests to cancel them in a single shot.  <a href="../../d8/d11/classcv_1_1gapi_1_1wip_1_1GAsyncContext.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d1c/classcv_1_1gapi_1_1wip_1_1GCaptureSource.html">GCaptureSource</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">OpenCV's VideoCapture-based streaming source.  <a href="../../dd/d1c/classcv_1_1gapi_1_1wip_1_1GCaptureSource.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d03/classcv_1_1gapi_1_1wip_1_1IStreamSource.html">IStreamSource</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Abstract streaming pipeline source.  <a href="../../da/d03/classcv_1_1gapi_1_1wip_1_1IStreamSource.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:af0b613787bf7ad96ea630824bf042356"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/de9/namespacecv_1_1gapi_1_1wip.html#af0b613787bf7ad96ea630824bf042356">async</a> (<a class="el" href="../../d2/d2c/classcv_1_1GCompiled.html">GCompiled</a> &amp;gcmpld, std::function&lt; void(std::exception_ptr)&gt; &amp;&amp;callback, <a class="el" href="../../d2/d75/namespacecv.html#a3d9c032e5fe7892151570efc6ac08e51">GRunArgs</a> &amp;&amp;ins, <a class="el" href="../../d2/d75/namespacecv.html#a54832d96bd6bdd570c7ceb4127f6cad1">GRunArgsP</a> &amp;&amp;outs)</td></tr>
<tr class="separator:af0b613787bf7ad96ea630824bf042356"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aef0be07fd8f46361642b6960846969c0"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/de9/namespacecv_1_1gapi_1_1wip.html#aef0be07fd8f46361642b6960846969c0">async</a> (<a class="el" href="../../d2/d2c/classcv_1_1GCompiled.html">GCompiled</a> &amp;gcmpld, std::function&lt; void(std::exception_ptr)&gt; &amp;&amp;callback, <a class="el" href="../../d2/d75/namespacecv.html#a3d9c032e5fe7892151570efc6ac08e51">GRunArgs</a> &amp;&amp;ins, <a class="el" href="../../d2/d75/namespacecv.html#a54832d96bd6bdd570c7ceb4127f6cad1">GRunArgsP</a> &amp;&amp;outs, <a class="el" href="../../d8/d11/classcv_1_1gapi_1_1wip_1_1GAsyncContext.html">GAsyncContext</a> &amp;ctx)</td></tr>
<tr class="separator:aef0be07fd8f46361642b6960846969c0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac1e38f854b7b4820b9f82ebd51ba41a5"><td align="right" class="memItemLeft" valign="top">std::future&lt; void &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/de9/namespacecv_1_1gapi_1_1wip.html#ac1e38f854b7b4820b9f82ebd51ba41a5">async</a> (<a class="el" href="../../d2/d2c/classcv_1_1GCompiled.html">GCompiled</a> &amp;gcmpld, <a class="el" href="../../d2/d75/namespacecv.html#a3d9c032e5fe7892151570efc6ac08e51">GRunArgs</a> &amp;&amp;ins, <a class="el" href="../../d2/d75/namespacecv.html#a54832d96bd6bdd570c7ceb4127f6cad1">GRunArgsP</a> &amp;&amp;outs)</td></tr>
<tr class="separator:ac1e38f854b7b4820b9f82ebd51ba41a5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:adb9bd7fe80b6eee39f502c1185f902a4"><td align="right" class="memItemLeft" valign="top">std::future&lt; void &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/de9/namespacecv_1_1gapi_1_1wip.html#adb9bd7fe80b6eee39f502c1185f902a4">async</a> (<a class="el" href="../../d2/d2c/classcv_1_1GCompiled.html">GCompiled</a> &amp;gcmpld, <a class="el" href="../../d2/d75/namespacecv.html#a3d9c032e5fe7892151570efc6ac08e51">GRunArgs</a> &amp;&amp;ins, <a class="el" href="../../d2/d75/namespacecv.html#a54832d96bd6bdd570c7ceb4127f6cad1">GRunArgsP</a> &amp;&amp;outs, <a class="el" href="../../d8/d11/classcv_1_1gapi_1_1wip_1_1GAsyncContext.html">GAsyncContext</a> &amp;ctx)</td></tr>
<tr class="separator:adb9bd7fe80b6eee39f502c1185f902a4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac18191406996961abbc1f5060e08c510"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/de9/namespacecv_1_1gapi_1_1wip.html#ac18191406996961abbc1f5060e08c510">async_apply</a> (<a class="el" href="../../d9/dfe/classcv_1_1GComputation.html">GComputation</a> &amp;gcomp, std::function&lt; void(std::exception_ptr)&gt; &amp;&amp;callback, <a class="el" href="../../d2/d75/namespacecv.html#a3d9c032e5fe7892151570efc6ac08e51">GRunArgs</a> &amp;&amp;ins, <a class="el" href="../../d2/d75/namespacecv.html#a54832d96bd6bdd570c7ceb4127f6cad1">GRunArgsP</a> &amp;&amp;outs, <a class="el" href="../../d9/d29/group__gapi__compile__args.html#gaa4f8db4f55770e56cca42c38dacf8ffd">GCompileArgs</a> &amp;&amp;args={})</td></tr>
<tr class="separator:ac18191406996961abbc1f5060e08c510"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af364608b2394086a446b58270d31024c"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/de9/namespacecv_1_1gapi_1_1wip.html#af364608b2394086a446b58270d31024c">async_apply</a> (<a class="el" href="../../d9/dfe/classcv_1_1GComputation.html">GComputation</a> &amp;gcomp, std::function&lt; void(std::exception_ptr)&gt; &amp;&amp;callback, <a class="el" href="../../d2/d75/namespacecv.html#a3d9c032e5fe7892151570efc6ac08e51">GRunArgs</a> &amp;&amp;ins, <a class="el" href="../../d2/d75/namespacecv.html#a54832d96bd6bdd570c7ceb4127f6cad1">GRunArgsP</a> &amp;&amp;outs, <a class="el" href="../../d9/d29/group__gapi__compile__args.html#gaa4f8db4f55770e56cca42c38dacf8ffd">GCompileArgs</a> &amp;&amp;args, <a class="el" href="../../d8/d11/classcv_1_1gapi_1_1wip_1_1GAsyncContext.html">GAsyncContext</a> &amp;ctx)</td></tr>
<tr class="separator:af364608b2394086a446b58270d31024c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad2b4cd2f672495907d53a395a17ec4c0"><td align="right" class="memItemLeft" valign="top">std::future&lt; void &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/de9/namespacecv_1_1gapi_1_1wip.html#ad2b4cd2f672495907d53a395a17ec4c0">async_apply</a> (<a class="el" href="../../d9/dfe/classcv_1_1GComputation.html">GComputation</a> &amp;gcomp, <a class="el" href="../../d2/d75/namespacecv.html#a3d9c032e5fe7892151570efc6ac08e51">GRunArgs</a> &amp;&amp;ins, <a class="el" href="../../d2/d75/namespacecv.html#a54832d96bd6bdd570c7ceb4127f6cad1">GRunArgsP</a> &amp;&amp;outs, <a class="el" href="../../d9/d29/group__gapi__compile__args.html#gaa4f8db4f55770e56cca42c38dacf8ffd">GCompileArgs</a> &amp;&amp;args={})</td></tr>
<tr class="separator:ad2b4cd2f672495907d53a395a17ec4c0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a134f0f0dbb68c447fbd23f32c1ec100a"><td align="right" class="memItemLeft" valign="top">std::future&lt; void &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/de9/namespacecv_1_1gapi_1_1wip.html#a134f0f0dbb68c447fbd23f32c1ec100a">async_apply</a> (<a class="el" href="../../d9/dfe/classcv_1_1GComputation.html">GComputation</a> &amp;gcomp, <a class="el" href="../../d2/d75/namespacecv.html#a3d9c032e5fe7892151570efc6ac08e51">GRunArgs</a> &amp;&amp;ins, <a class="el" href="../../d2/d75/namespacecv.html#a54832d96bd6bdd570c7ceb4127f6cad1">GRunArgsP</a> &amp;&amp;outs, <a class="el" href="../../d9/d29/group__gapi__compile__args.html#gaa4f8db4f55770e56cca42c38dacf8ffd">GCompileArgs</a> &amp;&amp;args, <a class="el" href="../../d8/d11/classcv_1_1gapi_1_1wip_1_1GAsyncContext.html">GAsyncContext</a> &amp;ctx)</td></tr>
<tr class="separator:a134f0f0dbb68c447fbd23f32c1ec100a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2304ab4f70c01d127019f6b5e8571135"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">cv::Ptr</a>&lt; <a class="el" href="../../da/d03/classcv_1_1gapi_1_1wip_1_1IStreamSource.html">IStreamSource</a> &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/de9/namespacecv_1_1gapi_1_1wip.html#a2304ab4f70c01d127019f6b5e8571135">make_capture_src</a> (const std::string &amp;path)</td></tr>
<tr class="separator:a2304ab4f70c01d127019f6b5e8571135"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7995ff65897390f23e1a1534aa8469bd"><td class="memTemplParams" colspan="2">template&lt;class T , class... Args&gt; </td></tr>
<tr class="memitem:a7995ff65897390f23e1a1534aa8469bd"><td align="right" class="memTemplItemLeft" valign="top"><a class="el" href="../../da/d03/classcv_1_1gapi_1_1wip_1_1IStreamSource.html#afa9caf180bca701df9b10a6974eaa8ff">IStreamSource::Ptr</a> </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="../../dd/de9/namespacecv_1_1gapi_1_1wip.html#a7995ff65897390f23e1a1534aa8469bd">make_src</a> (Args &amp;&amp;... args)</td></tr>
<tr class="separator:a7995ff65897390f23e1a1534aa8469bd"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="af0b613787bf7ad96ea630824bf042356"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af0b613787bf7ad96ea630824bf042356">◆ </a></span>async() <span class="overload">[1/4]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cv::gapi::wip::async </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d2/d2c/classcv_1_1GCompiled.html">GCompiled</a> &amp; </td>
          <td class="paramname"><em>gcmpld</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::function&lt; void(std::exception_ptr)&gt; &amp;&amp; </td>
          <td class="paramname"><em>callback</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d2/d75/namespacecv.html#a3d9c032e5fe7892151570efc6ac08e51">GRunArgs</a> &amp;&amp; </td>
          <td class="paramname"><em>ins</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d2/d75/namespacecv.html#a54832d96bd6bdd570c7ceb4127f6cad1">GRunArgsP</a> &amp;&amp; </td>
          <td class="paramname"><em>outs</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>These functions asynchronously (i.e. probably on a separate thread of execution) call GCompiled::operator() member function of their first argument with copies of rest of arguments (except callback) passed in. The difference between the function is the way to get the completion notification (via callback or a waiting on std::future object) If exception is occurred during execution of apply it is transferred to the callback (via function parameter) or passed to future (and will be thrown on call to std::future::get)</p>
<p>N.B. : Input arguments are copied on call to async function (actually on call to <a class="el" href="../../d2/d75/namespacecv.html#a4941eb8cbe70b8c7187bc8459af7653b">cv::gin</a>) and thus do not have to outlive the actual completion of asynchronous activity. While output arguments are "captured" by reference(pointer) and therefore <em>must</em> outlive the asynchronous activity (i.e. live at least until callback is called or future is unblocked)</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">gcmpld</td><td>Compiled computation (graph) to start asynchronously </td></tr>
    <tr><td class="paramname">callback</td><td>Callback to be called when execution of gcmpld is done </td></tr>
    <tr><td class="paramname">ins</td><td>Input parameters for gcmpld </td></tr>
    <tr><td class="paramname">outs</td><td>Output parameters for gcmpld </td></tr>
  </table>
  </dd>
</dl>
</div>
</div>
<a id="aef0be07fd8f46361642b6960846969c0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aef0be07fd8f46361642b6960846969c0">◆ </a></span>async() <span class="overload">[2/4]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cv::gapi::wip::async </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d2/d2c/classcv_1_1GCompiled.html">GCompiled</a> &amp; </td>
          <td class="paramname"><em>gcmpld</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::function&lt; void(std::exception_ptr)&gt; &amp;&amp; </td>
          <td class="paramname"><em>callback</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d2/d75/namespacecv.html#a3d9c032e5fe7892151570efc6ac08e51">GRunArgs</a> &amp;&amp; </td>
          <td class="paramname"><em>ins</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d2/d75/namespacecv.html#a54832d96bd6bdd570c7ceb4127f6cad1">GRunArgsP</a> &amp;&amp; </td>
          <td class="paramname"><em>outs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d8/d11/classcv_1_1gapi_1_1wip_1_1GAsyncContext.html">GAsyncContext</a> &amp; </td>
          <td class="paramname"><em>ctx</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">gcmpld</td><td>Compiled computation (graph) to run asynchronously </td></tr>
    <tr><td class="paramname">callback</td><td>Callback to be called when execution of gcmpld is done </td></tr>
    <tr><td class="paramname">ins</td><td>Input parameters for gcmpld </td></tr>
    <tr><td class="paramname">outs</td><td>Output parameters for gcmpld </td></tr>
    <tr><td class="paramname">ctx</td><td>Context this request belongs to </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../dd/de9/namespacecv_1_1gapi_1_1wip.html#af0b613787bf7ad96ea630824bf042356">async</a> <a class="el" href="../../d8/d11/classcv_1_1gapi_1_1wip_1_1GAsyncContext.html" title="A class to group async requests to cancel them in a single shot. ">GAsyncContext</a> </dd></dl>
</div>
</div>
<a id="ac1e38f854b7b4820b9f82ebd51ba41a5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac1e38f854b7b4820b9f82ebd51ba41a5">◆ </a></span>async() <span class="overload">[3/4]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::future&lt;void&gt; cv::gapi::wip::async </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d2/d2c/classcv_1_1GCompiled.html">GCompiled</a> &amp; </td>
          <td class="paramname"><em>gcmpld</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d2/d75/namespacecv.html#a3d9c032e5fe7892151570efc6ac08e51">GRunArgs</a> &amp;&amp; </td>
          <td class="paramname"><em>ins</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d2/d75/namespacecv.html#a54832d96bd6bdd570c7ceb4127f6cad1">GRunArgsP</a> &amp;&amp; </td>
          <td class="paramname"><em>outs</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">gcmpld</td><td>Compiled computation (graph) to run asynchronously </td></tr>
    <tr><td class="paramname">ins</td><td>Input parameters for gcmpld </td></tr>
    <tr><td class="paramname">outs</td><td>Output parameters for gcmpld </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>std::future&lt;void&gt; object to wait for completion of async operation </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../dd/de9/namespacecv_1_1gapi_1_1wip.html#af0b613787bf7ad96ea630824bf042356">async</a> </dd></dl>
</div>
</div>
<a id="adb9bd7fe80b6eee39f502c1185f902a4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adb9bd7fe80b6eee39f502c1185f902a4">◆ </a></span>async() <span class="overload">[4/4]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::future&lt;void&gt; cv::gapi::wip::async </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d2/d2c/classcv_1_1GCompiled.html">GCompiled</a> &amp; </td>
          <td class="paramname"><em>gcmpld</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d2/d75/namespacecv.html#a3d9c032e5fe7892151570efc6ac08e51">GRunArgs</a> &amp;&amp; </td>
          <td class="paramname"><em>ins</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d2/d75/namespacecv.html#a54832d96bd6bdd570c7ceb4127f6cad1">GRunArgsP</a> &amp;&amp; </td>
          <td class="paramname"><em>outs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d8/d11/classcv_1_1gapi_1_1wip_1_1GAsyncContext.html">GAsyncContext</a> &amp; </td>
          <td class="paramname"><em>ctx</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">gcmpld</td><td>Compiled computation (graph) to run asynchronously </td></tr>
    <tr><td class="paramname">ins</td><td>Input parameters for gcmpld </td></tr>
    <tr><td class="paramname">outs</td><td>Output parameters for gcmpld </td></tr>
    <tr><td class="paramname">ctx</td><td>Context this request belongs to </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>std::future&lt;void&gt; object to wait for completion of async operation </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../dd/de9/namespacecv_1_1gapi_1_1wip.html#af0b613787bf7ad96ea630824bf042356">async</a> <a class="el" href="../../d8/d11/classcv_1_1gapi_1_1wip_1_1GAsyncContext.html" title="A class to group async requests to cancel them in a single shot. ">GAsyncContext</a> </dd></dl>
</div>
</div>
<a id="ac18191406996961abbc1f5060e08c510"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac18191406996961abbc1f5060e08c510">◆ </a></span>async_apply() <span class="overload">[1/4]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cv::gapi::wip::async_apply </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d9/dfe/classcv_1_1GComputation.html">GComputation</a> &amp; </td>
          <td class="paramname"><em>gcomp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::function&lt; void(std::exception_ptr)&gt; &amp;&amp; </td>
          <td class="paramname"><em>callback</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d2/d75/namespacecv.html#a3d9c032e5fe7892151570efc6ac08e51">GRunArgs</a> &amp;&amp; </td>
          <td class="paramname"><em>ins</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d2/d75/namespacecv.html#a54832d96bd6bdd570c7ceb4127f6cad1">GRunArgsP</a> &amp;&amp; </td>
          <td class="paramname"><em>outs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d9/d29/group__gapi__compile__args.html#gaa4f8db4f55770e56cca42c38dacf8ffd">GCompileArgs</a> &amp;&amp; </td>
          <td class="paramname"><em>args</em> = <code>{}</code> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>In contrast to <a class="el" href="../../dd/de9/namespacecv_1_1gapi_1_1wip.html#af0b613787bf7ad96ea630824bf042356">async()</a> functions, these do call <a class="el" href="../../d9/dfe/classcv_1_1GComputation.html#aa25bc73f7cba9bb2f9992edaa248f868" title="Compile graph on-the-fly and immediately execute it on the inputs data vectors. ">GComputation::apply()</a> member function of the <a class="el" href="../../d9/dfe/classcv_1_1GComputation.html" title="GComputation class represents a captured computation graph. GComputation objects form boundaries for ...">GComputation</a> passed in.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">gcomp</td><td>Computation (graph) to run asynchronously </td></tr>
    <tr><td class="paramname">callback</td><td>Callback to be called when execution of gcomp is done </td></tr>
    <tr><td class="paramname">ins</td><td>Input parameters for gcomp </td></tr>
    <tr><td class="paramname">outs</td><td>Output parameters for gcomp </td></tr>
    <tr><td class="paramname">args</td><td>Compile arguments to pass to <a class="el" href="../../d9/dfe/classcv_1_1GComputation.html#aa25bc73f7cba9bb2f9992edaa248f868" title="Compile graph on-the-fly and immediately execute it on the inputs data vectors. ">GComputation::apply()</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../dd/de9/namespacecv_1_1gapi_1_1wip.html#af0b613787bf7ad96ea630824bf042356">async</a> </dd></dl>
</div>
</div>
<a id="af364608b2394086a446b58270d31024c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af364608b2394086a446b58270d31024c">◆ </a></span>async_apply() <span class="overload">[2/4]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cv::gapi::wip::async_apply </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d9/dfe/classcv_1_1GComputation.html">GComputation</a> &amp; </td>
          <td class="paramname"><em>gcomp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::function&lt; void(std::exception_ptr)&gt; &amp;&amp; </td>
          <td class="paramname"><em>callback</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d2/d75/namespacecv.html#a3d9c032e5fe7892151570efc6ac08e51">GRunArgs</a> &amp;&amp; </td>
          <td class="paramname"><em>ins</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d2/d75/namespacecv.html#a54832d96bd6bdd570c7ceb4127f6cad1">GRunArgsP</a> &amp;&amp; </td>
          <td class="paramname"><em>outs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d9/d29/group__gapi__compile__args.html#gaa4f8db4f55770e56cca42c38dacf8ffd">GCompileArgs</a> &amp;&amp; </td>
          <td class="paramname"><em>args</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d8/d11/classcv_1_1gapi_1_1wip_1_1GAsyncContext.html">GAsyncContext</a> &amp; </td>
          <td class="paramname"><em>ctx</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">gcomp</td><td>Computation (graph) to run asynchronously </td></tr>
    <tr><td class="paramname">callback</td><td>Callback to be called when execution of gcomp is done </td></tr>
    <tr><td class="paramname">ins</td><td>Input parameters for gcomp </td></tr>
    <tr><td class="paramname">outs</td><td>Output parameters for gcomp </td></tr>
    <tr><td class="paramname">args</td><td>Compile arguments to pass to <a class="el" href="../../d9/dfe/classcv_1_1GComputation.html#aa25bc73f7cba9bb2f9992edaa248f868" title="Compile graph on-the-fly and immediately execute it on the inputs data vectors. ">GComputation::apply()</a> </td></tr>
    <tr><td class="paramname">ctx</td><td>Context this request belongs to </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../dd/de9/namespacecv_1_1gapi_1_1wip.html#ac18191406996961abbc1f5060e08c510">async_apply</a> <a class="el" href="../../dd/de9/namespacecv_1_1gapi_1_1wip.html#af0b613787bf7ad96ea630824bf042356">async</a> <a class="el" href="../../d8/d11/classcv_1_1gapi_1_1wip_1_1GAsyncContext.html" title="A class to group async requests to cancel them in a single shot. ">GAsyncContext</a> </dd></dl>
</div>
</div>
<a id="ad2b4cd2f672495907d53a395a17ec4c0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad2b4cd2f672495907d53a395a17ec4c0">◆ </a></span>async_apply() <span class="overload">[3/4]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::future&lt;void&gt; cv::gapi::wip::async_apply </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d9/dfe/classcv_1_1GComputation.html">GComputation</a> &amp; </td>
          <td class="paramname"><em>gcomp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d2/d75/namespacecv.html#a3d9c032e5fe7892151570efc6ac08e51">GRunArgs</a> &amp;&amp; </td>
          <td class="paramname"><em>ins</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d2/d75/namespacecv.html#a54832d96bd6bdd570c7ceb4127f6cad1">GRunArgsP</a> &amp;&amp; </td>
          <td class="paramname"><em>outs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d9/d29/group__gapi__compile__args.html#gaa4f8db4f55770e56cca42c38dacf8ffd">GCompileArgs</a> &amp;&amp; </td>
          <td class="paramname"><em>args</em> = <code>{}</code> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">gcomp</td><td>Computation (graph) to run asynchronously </td></tr>
    <tr><td class="paramname">ins</td><td>Input parameters for gcomp </td></tr>
    <tr><td class="paramname">outs</td><td>Output parameters for gcomp </td></tr>
    <tr><td class="paramname">args</td><td>Compile arguments to pass to <a class="el" href="../../d9/dfe/classcv_1_1GComputation.html#aa25bc73f7cba9bb2f9992edaa248f868" title="Compile graph on-the-fly and immediately execute it on the inputs data vectors. ">GComputation::apply()</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>std::future&lt;void&gt; object to wait for completion of async operation </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../dd/de9/namespacecv_1_1gapi_1_1wip.html#ac18191406996961abbc1f5060e08c510">async_apply</a> <a class="el" href="../../dd/de9/namespacecv_1_1gapi_1_1wip.html#af0b613787bf7ad96ea630824bf042356">async</a> </dd></dl>
</div>
</div>
<a id="a134f0f0dbb68c447fbd23f32c1ec100a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a134f0f0dbb68c447fbd23f32c1ec100a">◆ </a></span>async_apply() <span class="overload">[4/4]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::future&lt;void&gt; cv::gapi::wip::async_apply </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d9/dfe/classcv_1_1GComputation.html">GComputation</a> &amp; </td>
          <td class="paramname"><em>gcomp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d2/d75/namespacecv.html#a3d9c032e5fe7892151570efc6ac08e51">GRunArgs</a> &amp;&amp; </td>
          <td class="paramname"><em>ins</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d2/d75/namespacecv.html#a54832d96bd6bdd570c7ceb4127f6cad1">GRunArgsP</a> &amp;&amp; </td>
          <td class="paramname"><em>outs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d9/d29/group__gapi__compile__args.html#gaa4f8db4f55770e56cca42c38dacf8ffd">GCompileArgs</a> &amp;&amp; </td>
          <td class="paramname"><em>args</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d8/d11/classcv_1_1gapi_1_1wip_1_1GAsyncContext.html">GAsyncContext</a> &amp; </td>
          <td class="paramname"><em>ctx</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">gcomp</td><td>Computation (graph) to run asynchronously </td></tr>
    <tr><td class="paramname">ins</td><td>Input parameters for gcomp </td></tr>
    <tr><td class="paramname">outs</td><td>Output parameters for gcomp </td></tr>
    <tr><td class="paramname">args</td><td>Compile arguments to pass to <a class="el" href="../../d9/dfe/classcv_1_1GComputation.html#aa25bc73f7cba9bb2f9992edaa248f868" title="Compile graph on-the-fly and immediately execute it on the inputs data vectors. ">GComputation::apply()</a> </td></tr>
    <tr><td class="paramname">ctx</td><td>Context this request belongs to </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>std::future&lt;void&gt; object to wait for completion of async operation </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="../../dd/de9/namespacecv_1_1gapi_1_1wip.html#ac18191406996961abbc1f5060e08c510">async_apply</a> <a class="el" href="../../dd/de9/namespacecv_1_1gapi_1_1wip.html#af0b613787bf7ad96ea630824bf042356">async</a> <a class="el" href="../../d8/d11/classcv_1_1gapi_1_1wip_1_1GAsyncContext.html" title="A class to group async requests to cancel them in a single shot. ">GAsyncContext</a> </dd></dl>
</div>
</div>
<a id="a2304ab4f70c01d127019f6b5e8571135"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2304ab4f70c01d127019f6b5e8571135">◆ </a></span>make_capture_src()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">cv::Ptr</a>&lt;<a class="el" href="../../da/d03/classcv_1_1gapi_1_1wip_1_1IStreamSource.html">IStreamSource</a>&gt; cv::gapi::wip::make_capture_src </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp; </td>
          <td class="paramname"><em>path</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.gapi.wip.make_capture_src(</td><td class="paramname">path</td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
<a id="a7995ff65897390f23e1a1534aa8469bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7995ff65897390f23e1a1534aa8469bd">◆ </a></span>make_src()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class T , class... Args&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../da/d03/classcv_1_1gapi_1_1wip_1_1IStreamSource.html#afa9caf180bca701df9b10a6974eaa8ff">IStreamSource::Ptr</a> cv::gapi::wip::make_src </td>
          <td>(</td>
          <td class="paramtype">Args &amp;&amp;... </td>
          <td class="paramname"><em>args</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
</div>
</div>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.6-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 2 2021 11:36:47 for OpenCV by  <a href="http://www.doxygen.org/index.html">
<img alt="doxygen" class="footer" src="../../doxygen.png"/>
</a> 1.8.13
</small></address>
<script type="text/javascript">
//<![CDATA[
addTutorialsButtons();
//]]>
</script>
</body>
</html>
